home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / update~4.z / update~4 / lib_stdio_fprintf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-06  |  330 b   |  21 lines

  1. #define __SRC__
  2. #include "stdiolib.h"
  3.     
  4. /*LINTLIBRARY*/
  5. /*VARARGS1*/
  6. /*ARGSUSED*/
  7.     
  8. fprintf (file, fmt, va_alist)
  9. FILE       *file;
  10. CONST char *fmt;
  11. va_dcl
  12. {
  13.     va_list arg;                /* argument vector */
  14.     int v;                /* return value */
  15.     
  16.     va_start(arg);
  17.     v = vfprintf(file, fmt, arg);
  18.     va_end(arg);
  19.     return v;
  20. }
  21.